document.write("<table>");
for (var n=1;n<=9;n++){
	document.write ("<tr>")
			for(var i=1;i<=n;i++){
			document.write("<td>");
			document.write(i+"*"+n+"="+i*n);
			document.write("</td>");
		}
		document.write("</tr>");
	}
document.write("</table>");